SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '09378aef4390c9dd9b49ff605431e64d4fbae2950dcc366080b144b181721666' 
  AND token = '74rDaAC/hijGZRRCOKt9gY8AuT7KYvUzRJoA77NoJr4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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