SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1f415f35a02e418a022aa35389a501de5da28071c18ffd7449154c74f3152caa' 
  AND token = '2xd7z1sPNceD05I0tm2NvwQOe6QG19sdjy5TmIeH72o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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