SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '442d44532b41f519d8a46e0664e7068c2aac2fa3e011776e34869e03144c8cf1' 
  AND token = '7QhKfwhDhOJxw0Y/pXOKnnnKtgzrFgjfuCm0VHe4Tro=' 
  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"
    }
  }
}