SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '057410ef923ba5f16c34629185561ac7192904135573991e5cbf00c9379b2165' 
  AND token = 'cuqOzOR2hlFSyUBDvFLeTk8egEi/Gp0yuYwtc15djhU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}