SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd54a7ed0be641d511309a373b1be44324ab46db76692640665c247eff967d48c' 
  AND token = 'toJ/ZYvD2EEbcKK7N1t3CFp5t+8xbcKKph4SnmAHPXU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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