SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f3e7b8ec96d8de0f155e07871e3a58d838f07a4c69d682bfc7f6e71e794844b' 
  AND token = '0z74Y+JWI3cIte0Vl/dhCAiitOF/Y74TGc74Pr0IlZI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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