SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '199461cdc49e1851e1f026b4d46644b0bf485a2afb2e125bed31f09b89e639dd' 
  AND token = 'NVpIYHG3gr96Vu54f0XAH7Rv9CppylbysvtH4X8mJjw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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