SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc7a390e88c8e4f764f74513e7dab2c8897897e9aa315eb722d02150a944292e' 
  AND token = 'NwhkiMGoJqWt9b/C0FkEPPzpUOlFmhw0ICH1qFoo4U0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}