SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3d8e28698430a2f4808170a43e73c6766045446ac5f8df2903f5ac1abed8341' 
  AND token = 'hWlogKnk38NlRnUzFqcMgXyvYOnFWctw1S2IpiG5Pdc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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