SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9e168e8669a79b219fcbb593cc8fa498ab0ac1db515c3f25073f23b6e74e3f1' 
  AND token = 'dKN7ZiAh5wHhzuqgRbsIjuKJhuMgthh0Df8iuFktFyA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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