SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0522d7c4998602c92a8bcb01ffcf3cfeb99035f9f82e68a36cdc704c6da5188' 
  AND token = '0VRitbn2V5foNqQYyUyZeJQ5tpRUBgyCuQ5F+o4mrOY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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