SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '866ee26e1e4792709065c7d102c36d30492a1159790c5f01ce7cd2c0109d5bfc' 
  AND token = 'aji46aDvwmCdBO5fAurlC4Tl+8xQZ5JQDrNtEXV9ZqA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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