SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9168f885b5e17c0b3cac92ec0e5f8b6fd1fc33174539d289d5bfde51b59830e' 
  AND token = 'hGPy0PVJCxntsjy3W/F+0uWZ0HdGpsxa6ZuvF+SAbCs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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