SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea8df303a15a3a565bbe34f958fca47647038ff1d6d4bd58700ef87292060264' 
  AND token = 'f8AQJckh8ER8XsydTPTo6jLc19v2OasMA/bpqZ8vtUc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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