SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23c112d32546a13652f000affaf66c2eb12da8a3be1f97cc5e446cead2239f97' 
  AND token = '5gDiD+JHVU6S/3FG8U5oVr27rLJuWe+s3ly+y/617u8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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