SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c867c0ba7b36ecf1eddc5b4392b5b43e65c2dd21cbbe5c7173ab742b7c579b8' 
  AND token = 'bXRgtoQa8SXU1ALtdAh9MbJHoZnBVmzLcroMOPBO7l8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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