SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'beac699e7f64587e4f326733e4f2b5f77d6039d95c3e71e516ac595f51ae020b' 
  AND token = 'sAbTJ73Ql2fDZ2KPOUNGlHzuY7n0PdNikoAENis/Dfw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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