SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3ece0fad2540f3b5d890b3cbdc3c642d9af21e3dc1c1ec19305fe737765ecd0' 
  AND token = 'X6/N4QQZweLsy+7VQI+OL5v5QRcI6g6opuuTjohvFjo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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