SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b514904efe51706e4b49afec4fa090720bca68a7fba0a0c95e7555c1db39a51' 
  AND token = 'hviHARnx5pB/OgvFu6XnVO8Rjney2QkQL59OSHTew5I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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